﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace VacationDaysCommons
{
    public enum EmployeeRole
    {
        Employee = 0,
        PM = 1,
        HRPeople = 2,
        Admin = 3
    }

    [DataContract]
    public class VDEmployee
    {
        [DataMember]
        public Guid Id { get; set; }

        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public EmployeeRole Role { get; set; }

        [DataMember]
        public string LastName { get; set; }

        [DataMember]
        public string FirstName { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public Guid PM { get; set; }
    }
}